package com.yugao.fintech.antelope.system.model.rqrs.role;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 角色数据范围更新

 */
@Getter
@Setter
@ToString
public class RoleDataScopeUpdateReq {
    // 数据范围
    @NotEmpty(message = "请选择权限范围")
    private String dataScope;

    @NotNull(message = "请选择角色")
    private Long roleId;

    private List<String> deptIds;
}
